﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Usuarios.aspx.cs" Inherits="Ticksys_ABM_Usuarios_Usuarios" MasterPageFile="~/Ticksys/MasterPage.master"%>


<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

   
    <div style="height: 31px; width: 524px; float:left">
        
        <asp:LinkButton ID="LblUsuarioNuev" runat="server" Text="Nuevo Usuario" 
            style="color: black;" CssClass="style1" 
            PostBackUrl="~/Ticksys/ABM/Usuarios/Alta_Usuario.aspx" ></asp:LinkButton>
        
    </div>
    <div style="width: 134px; float:left; height: 30px;" "color: White; background-color:#1A4C66" >
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
    </div>
    <div style="float:left">
    <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
        Height="100px" Width="536px" 
        EmptyDataText="No hay usuarios para mostrar." CellPadding="4" 
            ForeColor="#333333" GridLines="None">
        <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
        <Columns>
            <asp:TemplateField HeaderText="Editar">
                <ItemTemplate>
                    <asp:ImageButton ID="btn_Editar" runat="server" Height="28px" Width="34px" 
                        ImageUrl="~/Ticksys/Imagenes/icono usuario.png" 
                        onclick="btn_Editar_Click" CommandArgument='<%#Eval("Username") %>'/>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:BoundField DataField="Nombre" HeaderText="Nombre" />
            <asp:BoundField DataField="Apellido" HeaderText="Apellido" />
            <asp:BoundField DataField="Email" HeaderText="E-Mail" />
            <asp:BoundField DataField="Username" HeaderText="Username" />
            <asp:BoundField DataField="Password" HeaderText="Password" />
            <asp:BoundField DataField="Rol" HeaderText="Rol" />
            <asp:BoundField DataField="Sector" HeaderText="Sector" />
            <asp:BoundField DataField="Interno" HeaderText="Interno" />
            
        </Columns>
        <EditRowStyle BackColor="#999999" />
        <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
        <HeaderStyle BackColor="#5D7B9D" BorderColor="#FFFF99" Font-Bold="True" 
            ForeColor="White" />
        <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
        <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
        <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
        <SortedAscendingCellStyle BackColor="#E9E7E2" />
        <SortedAscendingHeaderStyle BackColor="#506C8C" />
        <SortedDescendingCellStyle BackColor="#FFFDF8" />
        <SortedDescendingHeaderStyle BackColor="#6F8DAE" />
    </asp:GridView>
    </div>

</asp:Content>
